home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / Inventor / gview.z / gview
Text File  |  1998-10-30  |  7KB  |  199 lines

  1.  
  2.  
  3.  
  4.                                                                       GGGGVVVVIIIIEEEEWWWW((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      gview - graph viewer for Inventor 3d databases
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ggggvvvviiiieeeewwww [[[[ffffiiiilllleeee |||| <<<< ffffiiiilllleeee]]]]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _g_v_i_e_w is a program for viewing, editing, and learning about Inventor 3d
  16.      scene graphs.  There are two views of the Inventor scene graph: a 3d
  17.      rendered view (left) and a scene graph view (right).  The 3d rendered
  18.      view displays the data in an examiner viewer and allows selection as well
  19.      as viewing.  The scene graph view renders the scene database as a
  20.      directed acyclic graph illustrating the structure and relationships
  21.      within the database.  This view is displayed in a GraphViewer component,
  22.      which is derived from the Inventor plane viewer. Each node in the graph
  23.      is represented by a 3D icon.
  24.  
  25.      If you select an object in one view, it will be highlighted in both
  26.      views.  This is a very interesting way to learn about Inventor scene
  27.      databases.  You can create new objects, edit the values of objects, and
  28.      rearrange the structure of the database by cutting and pasting.  (See the
  29.      descriptions of the menu items for details.)
  30.  
  31.      This program is especially useful for Inventor programmers who want to
  32.      analyze a specific database or who wish to experiment with Inventor
  33.      features and visualize the database at the same time.
  34.  
  35. GGGGVVVVIIIIEEEEWWWW MMMMEEEENNNNUUUU
  36.      The top bar contains the following three items under the _g_v_i_e_w menu:
  37.  
  38.      _S_a_v_e _i_n _g_v_i_e_w._i_v
  39.           Saves the Inventor scene (as displayed in the examiner viewer) in
  40.           the file _g_v_i_e_w._i_v.
  41.  
  42.      _S_a_v_e _d_i_s_p_l_a_y _g_r_a_p_h _i_n _d_i_s_p._i_v
  43.           Saves the scene representing the graph (as displayed in the graph
  44.           viewer) in the file _d_i_s_p._i_v.
  45.  
  46.      _Q_u_i_t
  47.           The usual.
  48.  
  49. GGGGRRRRAAAAPPPPHHHH VVVVIIIIEEEEWWWWEEEERRRR MMMMEEEENNNNUUUU
  50.      The top bar in the right-hand graph viewer window contains the following
  51.      menus:
  52.  
  53.      _G_r_a_p_h
  54.           This menu contains an _U_p_d_a_t_e button that updates the graph view
  55.           based on changes made to the scene graph.  (This is useful only if
  56.           the GraphViewer component is used in some application that can
  57.           modify the structure of the original scene graph; the GraphViewer
  58.           does not update based on changes to this scene graph, since that
  59.           would be too expensive.)
  60.  
  61.  
  62.  
  63. Page 1                           Release 6.5                       August 1991
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. GGGGVVVVIIIIEEEEWWWW((((1111))))
  71.  
  72.  
  73.  
  74.      _E_d_i_t
  75.           This menu enables cutting, copying, pasting, and duplicating the
  76.           selected node in the scene graph. When pasting (or duplicating,
  77.           which is copying and pasting in one operation), you have a choice of
  78.           pasting a copy of the node or a reference to (instance of) it.
  79.           Feedback appears to indicate where the copy or instance will be
  80.           located.
  81.  
  82.      _S_e_l_e_c_t
  83.           This menu allows you to change easily which node is selected.
  84.  
  85.      _G_r_o_u_p
  86.           This menu allows you to hide or show nodes under a group node. If a
  87.           group node is selected, the _O_p_e_n button displays the immediate
  88.           children of the group, while _O_p_e_n _A_l_l displays all descendants.
  89.           _C_l_o_s_e hides all descendants, and _T_o_g_g_l_e toggles between the open and
  90.           closed states.
  91.  
  92.      _I_n_s_t
  93.           When a node is the child of more than one parent, each instance
  94.           after the first is displayed as an instance icon (a letter "I" in
  95.           the default icons). When an instance icon is selected, the _T_o_g_g_l_e
  96.           button in this menu toggles the display of a line that connects the
  97.           instance icon to the node it is an instance of. The _S_w_a_p button
  98.           exchanges the instance icon with this other node. (This can be
  99.           useful to examine nodes under an instance of a group node.)
  100.  
  101.      _N_o_d_e
  102.           The _C_r_e_a_t_e button in this menu brings up a NodeCreator widget that
  103.           allows you to create a new instance of any built-in Inventor node
  104.           class. Once a type is selected or typed in, feedback appears in the
  105.           GraphViewer to help you place the new node in the graph. The _E_d_i_t
  106.           _F_i_e_l_d_s button brings up a FieldEditor widget that allows you to edit
  107.           the values of fields in a selected node.
  108.  
  109. SSSSHHHHOOOORRRRTTTTCCCCUUUUTTTTSSSS
  110.      Each menu button has a corresponding keyboard shortcut displayed in the
  111.      pull-down menu.  Double-clicking on a node icon initiates a common action
  112.      for that type of node. For a group, it is equivalent to the _G_r_o_u_p _T_o_g_g_l_e
  113.      button.  For an instance, it is equivalent to the _I_n_s_t _T_o_g_g_l_e button.
  114.      For any other node, it is equivalent to the _N_o_d_e _E_d_i_t _F_i_e_l_d_s button.
  115.  
  116. IIIICCCCOOOONNNNSSSS
  117.      The 3D icons used to represent nodes in the scene graph are read from a
  118.      file called _g_v_i_e_w_I_c_o_n_s._i_v.  This file is searched for in (in order)
  119.      directories specified in the _I_V__G_R_A_P_H__D_I_R environment variable, the
  120.      current directory, and the usual place this file gets installed (See the
  121.      FILES section).
  122.  
  123.      Each icon in this file is represented by a subgraph (rooted by a
  124.      separator) whose first N children are label nodes; each of the label
  125.      nodes defines one node type to be represented by that subgraph. Icons
  126.  
  127.  
  128.  
  129. Page 2                           Release 6.5                       August 1991
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.                                                                       GGGGVVVVIIIIEEEEWWWW((((1111))))
  137.  
  138.  
  139.  
  140.      follow the node hierarchy; that is, the icon representing a group is used
  141.      for all group nodes that don't have explicitly different icons.
  142.  
  143.      The default icon set is chosen to be similar to the icons used in the
  144.      Inventor documentation.
  145.  
  146. SSSSOOOOUUUURRRRCCCCEEEE CCCCOOOODDDDEEEE
  147.      Note that the source code to _g_v_i_e_w comes with the _O_p_e_n _I_n_v_e_n_t_o_r _3_d
  148.      _T_o_o_l_k_i_t.
  149.  
  150. FFFFIIIILLLLEEEESSSS
  151.      /usr/share/data/models/* - Sample 3D data files
  152.      /usr/share/src/Inventor/demos/gview/* - Source to gview
  153.      /usr/demos/data/Inventor/gviewIcons.iv - Default icon file
  154.  
  155. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  156.      SceneViewer, drop, inventor, ivcat, ivview, noodle, showcase, revo,
  157.      textomatic
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195. Page 3                           Release 6.5                       August 1991
  196.  
  197.  
  198.  
  199.